<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="/deng/include/include-css.js"></script>
<title>工作流表单字段编辑页面</title>
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
						<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						编辑工作流表单字段
					</h3>
				</div>
			</div>
		</div>
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group m-form__group row" style="display:none;">
					<label class="col-md-1 col-form-label">主键</label>
					<div class="col-md-3">
						<input class="form-control" type="hidden" name="lc_form_field_id" id='lc_form_field_id' placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;签</label>
					<div class="col-md-2">
						<input class="form-control" type="hidden" maxlength="32" id="lc_form_id" name="lc_form_id">
						<input class="form-control" type="text" maxlength="255"  name="field_label" id="field_label"  placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">元素编号</label>
					<div class="col-md-2">
						<input class="form-control" type="text" maxlength="128" id="field_id" name="field_id" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">元素名称</label>
					<div class="col-md-2">
						<input class="form-control" type="text" maxlength="128" id="field_name" name="field_name" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">只&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;读</label>
					<div class="col-md-2">
						<select class="form-control" name="field_read" id="field_read">
							<option value="">请选择</option>
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">可&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;写</label>
					<div class="col-md-2">
						<select class="form-control" name="field_write" id="field_write">
							<option value="">请选择</option>
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">隐&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;藏</label>
					<div class="col-md-2">
						<select class="form-control" name="filed_hide" id="filed_hide">
							<option value="">请选择</option>
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">必&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;填</label>
					<div class="col-md-2">
						<select class="form-control" name="filed_required" id="filed_required">
							<option value="">请选择</option>
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>

				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">字段长度</label>
					<div class="col-md-1">
						<input class="form-control" maxlength="10" value="0" id="field_maxlength" data-bv-numeric data-bv-numeric-message="此项为数字类型"  name="field_maxlength" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">字段类型</label>
					<div class="col-md-2">
						<input type="hidden" id="field_type_idTemp"/>
						<select class="form-control" name="field_type_id" id="field_type_id" placeholder="请选择">
							<option value="">请选择</option>
						</select>
					</div>
				</div>

				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序</label>
					<div class="col-md-1">
						<input class="form-control" maxlength="10" value="0"  data-bv-numeric data-bv-numeric-message="此项为数字类型"  id="sort_" name="sort_" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">参与业务</label>
					<div class="col-md-2">
						<select class="form-control" name="participation" id="participation">
							<option value="">请选择</option>
							<option value="0">是</option>
							<option value="1">否</option>
						</select>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">提&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;示</label>
					<div class="col-md-3">
						<input class="form-control" type="text" maxlength="255"  name="tips" id="tips" placeholder="请输入">
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-md-1 col-form-label">输入框类型</label>
					<div class="col-md-2">
						<input type="hidden" id="field_html_idTemp"/>
						<select class="form-control" name="field_html_id" id="field_html_id" placeholder="请选择">
							<option value="">请选择</option>
						</select>
					</div>
				</div>
			</div>
			<div class="m-portlet__foot m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--right">
					<div class="row">
						<div class="col m--align-left">
							<a class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:updateLcFormField()">保存</a>
							<a class="btn btn-secondary m-btn m-btn--custom m-btn--icon" href="javascript:goback()">返回</a>
						</div>
						<div class="col m--align-right">
							<a class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:resetAll('defaultForm')"><span><i class="fa fa-repeat"></i><span>重置</span></span></a>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/workflow/lc-form-field/lc-form-field-update.js"></script>
</html>
